CC=gcc
CFLAGS=
LDFLAGS=
EXEC=run
OBJ=$(BIN_DIR)main.o 
BIN_DIR =
COMP_MOD = --static 
LIB= -lpthread -lncurses 

all: dependances $(EXEC)

run: $(OBJ)
	$(CC) $(COMP_MOD) $^ -o $@ $(LIB) 

dependances:
	$(CC) $(COMP_MOD) -c main.c -o $(BIN_DIR)main.o $(LIB) 

.PHONY: clean mrproper

clean:
	-rm $(BIN_DIR)*.o

mrproper: clean
	-rm $(EXEC) 
